/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac4.only5.tools;

/**
 *
 * @author Gerard
 */
public class StringTool {
    
    private static StringTool instance;
    
    private StringTool(){
        
    }
    
    public static StringTool getInstance(){
        return instance == null ? instance = new StringTool() : instance;
    }
    
    public boolean isNotEmpty(String value){
        boolean result = false;
        if(value != null && !value.trim().equals("")){
            result = true;
        }
        return result;   
    }    
}
